package com.bootdo.wx.dao;

import com.bootdo.wx.domain.MemberCouponDO;
import com.bootdo.wx.domain.SalesCouponDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 全局优惠券
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-06-13 15:54:40
 */
@Mapper
public interface SalesCouponDao {

	SalesCouponDO get(String id);
	
	List<SalesCouponDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SalesCouponDO salesCoupon);
	
	int update(SalesCouponDO salesCoupon);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<SalesCouponDO> getCanList(Map<String, Object> map);
}
